.. _String Functions: ================ String Functions ================ .. toctree:: :maxdepth: 5 :hidden: :glob: * +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | **Function** | **Description** | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_AppendA` | Appends a zero terminated string to the end of an existing zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_AppendW` | Appends a zero terminated string to the end of an existing zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareA` | A case sensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareW` | A case sensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIA` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIW` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIExA` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIExW` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ConcatA` | Concatenate two strings by appending the second zero terminated string to the end of the first zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ConcatW` | Concatenate two strings by appending the second zero terminated string to the end of the first zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CopyA` | Copies a zero terminated string from the source buffer to the destination buffer. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CopyW` | Copies a zero terminated string from the source buffer to the destination buffer. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CountA` | Count the number of instances of a specified substring in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CountW` | Count the number of instances of a specified substring in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_InStringA` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_InStringW` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftA` | Gets a substring from the left side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftW` | Gets a substring from the left side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftTrimA` | Trims the leading spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftTrimW` | Trims the leading spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LengthA` | Reads the length of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LengthW` | Reads the length of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LowercaseA` | Converts any uppercase characters in the supplied zero terminated string to lowercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LowercaseW` | Converts any uppercase characters in the supplied zero terminated string to lowercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MiddleA` | Gets a substring from the middle of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MiddleW` | Gets a substring from the middle of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MonoSpaceA` | Format a string with single spaces and trimmed ends. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MonoSpaceW` | Format a string with single spaces and trimmed ends. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MultiCatA` | Concatenate multiple strings. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MultiCatW` | Concatenate multiple strings. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RemoveA` | Removes a substring from a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RemoveW` | Removes a substring from a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReplaceA` | Replaces text in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReplaceW` | Replaces text in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReverseA` | Reverses a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReverseW` | Reverses a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightA` | Gets a substring from the right side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightW` | Gets a substring from the right side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightTrimA` | Trims the trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightTrimW` | Trims the trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_SubstringA` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_SubstringW` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_TrimA` | Trims the leading and trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_TrimW` | Trims the leading and trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_UppercaseA` | Converts any lowercase characters in the supplied zero terminated string to uppercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_UppercaseW` | Converts any lowercase characters in the supplied zero terminated string to uppercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_WordReplaceA` | Globally replace whole words in the source text and write the result to the destination. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_WordReplaceW` | Globally replace whole words in the source text and write the result to the destination. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | **ANSI String Function** | **Description** | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_AppendA` | Appends a zero terminated string to the end of an existing zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareA` | A case sensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIA` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIExA` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ConcatA` | Concatenate two strings by appending the second zero terminated string to the end of the first zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CopyA` | Copies a zero terminated string from the source buffer to the destination buffer. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CountA` | Count the number of instances of a specified substring in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_InStringA` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftA` | Gets a substring from the left side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftTrimA` | Trims the leading spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LowercaseA` | Converts any uppercase characters in the supplied zero terminated string to lowercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MiddleA` | Gets a substring from the middle of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MonoSpaceA` | Format a string with single spaces and trimmed ends. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MultiCatA` | Concatenate multiple strings. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RemoveA` | Removes a substring from a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReplaceA` | Replaces text in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReverseA` | Reverses a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightA` | Gets a substring from the right side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightTrimA` | Trims the trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_SubstringA` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_TrimA` | Trims the leading and trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_UppercaseA` | Converts any lowercase characters in the supplied zero terminated string to uppercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_WordReplaceA` | Globally replace whole words in the source text and write the result to the destination. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | **UNICODE String Function** | **Description** | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_AppendW` | Appends a zero terminated string to the end of an existing zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareW` | A case sensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIW` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CompareIExW` | A case insensitive string comparison that compares two zero terminated strings for a difference. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ConcatW` | Concatenate two strings by appending the second zero terminated string to the end of the first zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CopyW` | Copies a zero terminated string from the source buffer to the destination buffer. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_CountW` | Count the number of instances of a specified substring in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_InStringW` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftW` | Gets a substring from the left side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LeftTrimW` | Trims the leading spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_LowercaseW` | Converts any uppercase characters in the supplied zero terminated string to lowercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MiddleW` | Gets a substring from the middle of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MonoSpaceW` | Format a string with single spaces and trimmed ends. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_MultiCatW` | Concatenate multiple strings. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RemoveW` | Removes a substring from a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReplaceW` | Replaces text in a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_ReverseW` | Reverses a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightW` | Gets a substring from the right side of a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_RightTrimW` | Trims the trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_SubstringW` | Find a substring in a zero terminated source string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_TrimW` | Trims the leading and trailing spaces and tabs from a zero terminated string. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_UppercaseW` | Converts any lowercase characters in the supplied zero terminated string to uppercase. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String_WordReplaceW` | Globally replace whole words in the source text and write the result to the destination. | +------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------+